using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Office.Tools.Ribbon;
using System.Windows.Forms;

namespace AzureDiagnostics2Excel
{
    public partial class QueryRibbon
    {
        private void QueryRibbon_Load(object sender, RibbonUIEventArgs e)
        {

        }

        private void buttonLoadAzureTableStorage_Click(object sender, RibbonControlEventArgs e)
        {
            CountersDownloadWindow dialog = new CountersDownloadWindow();
            dialog.Show();
        }

        private void buttonSettings_Click(object sender, RibbonControlEventArgs e)
        {
            AccountSettingsWindow dialog = new AccountSettingsWindow();
            dialog.Show();
        }

        private void buttonFeedback_Click(object sender, RibbonControlEventArgs e)
        {
            MessageBox.Show("The \"Send Feedback\" feature has not yet been implemented.", "Send Feedback", MessageBoxButtons.OK, MessageBoxIcon.Information);
        }

        private void buttonAbout_Click(object sender, RibbonControlEventArgs e)
        {
            MessageBox.Show("AD2Excel is being developed and maintained by Sebastian Brandes (sbrand@microsoft.com). Last updated on August 5, 2013.", "About AD2Excel", MessageBoxButtons.OK, MessageBoxIcon.Information);
        }
    }
}
